package com.practice.service.serviceImpl;

import com.practice.dao.daoImpl.DeptDaoImpl;
import com.practice.entity.Dept;
import com.practice.service.DetpService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * @author:高杰领
 * @date:2021/11/19 14:38
 * @description:
 * @version:
 **/
@Service
public class DetpServiceImpl implements DetpService {
    @Autowired
    DeptDaoImpl deptDao;
    @Override
    public List<Dept> selectAllDeptno() {
        List<Dept> list = deptDao.selectAllDeptno();
        return list;
    }
}
